<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>查询</title>
  <link rel="stylesheet" href="../static/css/reset.min.css">
   <link rel="stylesheet" href="../static/css/style.css">
  <link rel="stylesheet" href="../static/css/anniu.css">
</head>
<body>
  <section>
  <!--for demo wrap-->
  <h1>Department of query</h1>
  <div class="tbl-header">

    <table cellpadding="0" cellspacing="0" border="0">
      <thead>
        <tr>
          <th><input type="checkbox" onclick="setAllNo()" name="check" id="s"></th>
          <th>id</th>
          <th>编号</th>
          <th>名称</th>
          <th>所属省份</th>
          <th>部门人数</th>
          <th>描述</th>
          <th>删除</th>
          <th>修改</th>
        </tr>
      </thead>
    </table>
  </div>
    <form method="post" action="/delss">
  <div class="tbl-content">
    <table cellpadding="0" cellspacing="0" border="0">
      <tbody>
      <!--/*@thymesVar id="dept1" type="ch"*/-->
      <tr th:each="dept1:${dept1}">
        <td><input type="checkbox" th:value="${dept1.id}" name="check" ></td>
        <td th:text="${dept1.id}"></td>
        <td th:text="${dept1.bumenbianhao}"></td>
        <td th:text="${dept1.bumenmingcheng}"></td>
        <td th:text="${dept1.suoshushengfen}"></td>
        <td th:text="${dept1.bumenrenshu}"></td>
        <td th:text="${dept1.miaoshu}"></td>
        <td><a th:href="@{/del/} + ${dept1.id}">删除</a></td>
        <td><a th:href="@{/gai/} + ${dept1.id}">修改</a></td>
      </tr>
      </tbody>
    </table>

  </div>

      <button type="submit" class="shiny">删除多个</button>

    </form>
</section>

<!-- follow me template -->
<div class="made-with-love">
  Made with
  <i>♥</i> by
  <a target="_blank" href="#">Mr.Liu lmx</a>
</div>
  <script src='../static/js/jquery.min.js'></script>
  <script src="../static/js/index.js"></script>
</body>
</html>
